/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.controller;

import java.net.MalformedURLException;
import java.rmi.RemoteException;
import java.util.Iterator;
import java.util.List;

/**
 *
 * @author Jorge
 */
public interface ClientControllerInterface {

    public void getReferenceChat(ChatInterface chat) throws RemoteException;

    public void getReferenceServer() throws RemoteException;

    public void addChat(ChatInterface chat) throws RemoteException;

    public void removeChat(Integer idChat) throws RemoteException;

    public List<ChatInterface> getListChats() throws RemoteException;

    public String getURL() throws RemoteException;

    public void createRegister(String name) throws RemoteException, MalformedURLException;

    public void connectChat() throws RemoteException;

    public void disconnectChat() throws RemoteException;

    void sendMessage(String message) throws RemoteException;
}
